package com.fenqing.comics.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fenqing.comics.commons.BaseEntity;
import com.fenqing.comics.enums.SourceEnums;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 资源表
 * @author fenqing
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_source")
public class SourceEntity extends BaseEntity {

  @TableField
  private String name;

  @TableField
  private SourceEnums.Code code;

}
